import mongoose from 'mongoose';
import { Sequelize, DataTypes } from 'sequelize';

class Connect {
  constructor() {
    this.connect()
  }

  connect() {
    mongoose.connect('mongodb://localhost/WDEPstu').then(() => {
      console.log("连接数据库成功");
    })
  }
}

export default Connect
